body {
  min-width: 320px;
  max-width: 540px;
  margin: 0 auto;
  font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
  color: #000;
  background: #f2f2f2;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
/* 移动端初始化样式 */
/*点击高亮我们需要清除清除 设置为transparent 完成透明*/
* {
  -webkit-tap-highlight-color: transparent;
}
/*在移动端浏览器默认的外观在iOS上加上这个属性才能给按钮和输入框自定义样式*/
input {
  -webkit-appearance: none;
}
/*禁用长按页面时的弹出菜单*/
img,
a {
  -webkit-touch-callout: none;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
/* 页面搜索区域 */
.login {
  z-index: 10;
  display: flex;
  position: fixed;
  top: 0;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 540px;
  height: 44px;
  padding-left: 12px;
  box-sizing: border-box;
  background-color: transparent;
}
.login .search {
  display: flex;
  flex: 1;
  height: 28px;
  padding: 2px 5px;
  box-sizing: border-box;
  border-radius: 16px;
  background-color: #fff;
}
.login .search span {
  padding-left: 35px;
  box-sizing: border-box;
}
.login .search span::before {
  content: "";
  display: block;
  position: absolute;
  top: 15px;
  left: 30px;
  width: 14px;
  height: 14px;
  background: url(../images/sprite.png) no-repeat 0 -1px;
  background-size: 20px auto;
}
.login .mine {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 55px;
  height: 44px;
}
.login .mine span {
  color: #fff;
}
.login .mine i {
  display: block;
  width: 21px;
  height: 22px;
  background: url(../images/sprite.png) no-repeat 0 -34px;
  background-size: 20px auto;
}
/* 页面顶部背景广告区域 */
.bg {
  position: relative;
  width: 100%;
  padding: 0 25%;
  transform: translateX(-16.66667%);
  border-bottom-left-radius: 100%;
  border-bottom-right-radius: 100%;
  overflow: hidden;
}
.bg a {
  display: block;
  /* width: 150%; */
}
.bg a img {
  width: 100%;
  /* height: 260px; */
}
/* 娱乐导航区域 */
.amusement-nav {
  display: flex;
  position: relative;
  z-index: 20;
  margin: -52px 12px 10px;
  padding: 4px 0 8px;
  box-shadow: 0 2px 6px rgb(0 0 0 / 8%);
  background: #fff;
  border-radius: 8px;
}
.amusement-nav li {
  width: 20%;
}
.amusement-nav li a {
  display: flex;
  text-decoration: none;
  color: #222;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
}
.amusement-nav li a .nav-icon {
  display: block;
  width: 40px;
  height: 40px;
  background: url(../images/localnav_bg.png) no-repeat 0 0;
  background-size: 40px auto;
}
.amusement-nav li a:last-child {
  font-size: 12px;
}
.amusement-nav li:nth-of-type(2) a .nav-icon {
  background-position: 0 -40px;
}
.amusement-nav li:nth-of-type(3) a .nav-icon {
  background-position: 0 -80px;
}
.amusement-nav li:nth-of-type(4) a .nav-icon {
  background-position: 0 -120px;
}
.amusement-nav li:nth-of-type(5) a .nav-icon {
  background-position: 0 -160px;
}

/* 行程导航区域 */
.main-nav {
  margin: 0 12px 12px;
  border-radius: 8px;
  overflow: hidden;
}
.journey-nav {
  display: flex;
  line-height: 14px;
  color: #fff;
}
ul.journey-nav:not(:last-of-type) {
  border-bottom: 1px solid #fff;
}
.journey-nav li:not(:last-of-type) {
  border-right: 1px solid #fff;
}
.journey-nav li:nth-of-type(1) {
  flex: 1.37;
}
.journey-nav li:nth-of-type(1) a {
  padding-left: 12px;
}
.journey-nav li:nth-of-type(n + 2) {
  flex: 1;
}
.journey-nav li a {
  display: block;
  padding: 25.6px 0;
  box-sizing: border-box;
  text-decoration: none;
  text-align: center;
  color: #fff;
}
.journey-nav li:nth-of-type(1) a {
  text-align: left;
}
.journey-nav.hotel {
  background-image: linear-gradient(to right, #fa5b56, #fb8350);
}
.journey-nav.hotel li:nth-of-type(1) a {
  background: url(../images/hotel.png) no-repeat right bottom;
  background-size: 73px auto;
}
.journey-nav.hotel li:nth-of-type(2) a {
  background: url(../images/minsu.png) no-repeat left bottom;
  background-size: 37px auto;
}
.journey-nav.hotel li:nth-of-type(3) a {
  background: url(../images/hot_sale.png) no-repeat right bottom;
  background-size: 100% auto;
}
.journey-nav.hotel li:nth-of-type(3) {
  flex: 2;
  background-image: linear-gradient(to right, #ffd152, #ffd252);
}
.journey-nav.ticket {
  background-image: linear-gradient(to right, #4c90ed, #53bbed);
}
.journey-nav.ticket li:nth-of-type(1) a {
  background: url(../images/flight.png) no-repeat right bottom;
  background-size: 79px auto;
}
.journey-nav.ticket li:nth-of-type(2) a {
  background: url(../images/train.png) no-repeat left bottom;
  background-size: 37px auto;
}
.journey-nav.trip {
  background-image: linear-gradient(to right, #35c3a9, #6bd559);
}
.journey-nav.trip li:nth-of-type(1) a {
  background: url(../images/travel.png) no-repeat right bottom;
  background-size: 94px auto;
}
.journey-nav.trip li:nth-of-type(2) a {
  background: url(../images/dingzhi.png) no-repeat left bottom;
  background-size: 71px auto;
}
/* 生活导航区域 */
ul.life-nav {
  display: flex;
  flex-wrap: wrap;
  margin: 0 12px 12px;
  color: #222;
  font-size: 12px;
}
ul.life-nav li {
  width: 20%;
}
ul.life-nav li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #222;
}
ul.life-nav li a i {
  width: 28px;
  height: 28px;
  margin: 10px 0 5px;
  background: url(../images/un_ico_subnav2x@v7.33.png) no-repeat 0 0;
  background-size: 28px auto;
}
ul.life-nav li:nth-of-type(2) a i {
  background-position: 0 -28px;
}
ul.life-nav li:nth-of-type(3) a i {
  background-position: 0 -56px;
}
ul.life-nav li:nth-of-type(4) a i {
  background-position: 0 -84px;
}
ul.life-nav li:nth-of-type(5) a i {
  background-position: 0 -112px;
}
ul.life-nav li:nth-of-type(6) a i {
  background-position: 0 -140px;
}
ul.life-nav li:nth-of-type(7) a i {
  background-position: 0 -168px;
}
ul.life-nav li:nth-of-type(8) a i {
  background-position: 0 -196px;
}
ul.life-nav li:nth-of-type(9) a i {
  background-position: 0 -224px;
}
ul.life-nav li:nth-of-type(10) a i {
  background-position: 0 -252px;
}
/* 热门活动优惠区域 */
.hot-activity {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px 1px;
  box-sizing: border-box;
  background-color: #fff;
}
.hot-activity h2 {
  position: relative;
  width: 79px;
  height: 15px;
  background: url(../images/hot.png) no-repeat 0 -20px;
  background-size: 79px auto;
}
.hot-activity h2 i {
  position: absolute;
  right: -40px;
  width: 36px;
  height: 15px;
  background: url(../images/icon-gg@2x.png) no-repeat 0 0;
  background-size: 36px auto;
}
.hot-activity a.more {
  position: relative;
  display: block;
  height: 20px;
  padding: 0 18px 0 12px;
  line-height: 20px;
  color: #fff;
  text-decoration: none;
  background-image: linear-gradient(to right, #dc5670, #e067c1);
  border-radius: 10px;
}
.hot-activity a.more::after {
  content: "";
  display: block;
  position: absolute;
  top: 5px;
  right: 9px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.on-sale {
  display: flex;
  border-top: 2px solid #fafafa;
}
.on-sale a {
  display: block;
  position: relative;
  text-decoration: none;
  flex: 1;
}
.on-sale a:first-of-type {
  border-right: 1px solid #fafafa;
}
.on-sale a span {
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 14px;
  font-size: 12px;
  line-height: 14px;
  border-top-right-radius: 4px;
  background-color: #b3b3b3;
  color: #fff;
}
.on-sale a img {
  display: block;
  width: 100%;
}
